/**
 * Copyright (C), 2019-2020
 * FileName: ArticleServiceImpl
 * Author:   hnly
 * Date:     2020/6/8 17:51
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package service.Impl;

import bean.Article;
import dao.ArticleMapper;
import org.springframework.stereotype.Service;
import service.IArticleService;

import javax.annotation.Resource;
import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author hnly
 * @create 2020/6/8
 * @since 1.0.0
 */
@Service
public class ArticleServiceImpl implements IArticleService {
    @Resource
    private ArticleMapper articleMapper;   //依赖注入


    @Override
    public List<Article> findAll() {
        return articleMapper.selectAll();
    }
}